Skip to content

Keep rows readable at large text sizes - #228

Draft
shanesmithdev wants to merge 1 commit into
NativePHP:mainfrom
shanesmithdev:fix-notification-s
Draft

shanesmithdev wants to merge 1 commit into
NativePHP:mainfrom
shanesmithdev:fix-notification-s

Conversation

@shanesmithdev

@shanesmithdev shanesmithdev commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

This fixes #227

At very large system text sizes, the app becomes almost unusable. Even at regular text sizes, some Android devices (like a Pixel 9 or Pixel 10) cause the "Notifications" tab bar item to wrap so the word is split across two lines.

This PR intends to make the app slightly more usable at the maximum text size Android allows, making the most of the limited screen space available when the font is so large. Some users with poor eyesight turn this setting up quite high, and the /dev/null app should be functional for them too.

By fixing this for the worst case possible, the side-effect is that we also fix it for the more mild cases (like a Pixel 9 or Pixel 10).

iOS is a whole other issue, and has its own problems with large font sizes. iOS does benefit from the changes in this PR, but additional work is needed to make an iPhone properly usable in this scenario. I'll leave that for another PR.

Blocked on

The bottom tab bar wrapping "Notifications" (the bug in #227) is drawn by NativePHP, so it needs a fix upstream. This stays a draft until that lands and the dependency is bumped here.

The screenshots below were taken with that fix applied locally, so the bottom bar in the "after" shots (and the achievements "before" shots) shows labels cut off with "…" rather than wrapped. That's part of what the mobile-air fix helps us to achieve.

Not covered here

The aim of this PR is a fix for the basic problem: the app should be usable with large system text sizes on Android.

  • Moving Profile out of the tab bar. I'd like to explore taking Profile out of the tab bar entirely, for example behind your avatar in the top bar, which would leave four tabs with more room each. That's a bigger design change, and it needs discussion, so I'll look at it in a separate PR.
  • iOS at large text sizes. iOS has its own, larger set of problems with Dynamic Type (commit text that doesn't scale, a clipped action row, overlapping text), so fixing iOS will have to wait for a separate PR.
  • The Following / Latest / Trending tabs are drawn by the pager and already cut off with "…" at large sizes.

Follow up tasks

  • More work can be done to improve iPhone at large text sizes
  • More work can be done to avoid truncating the tab bar icons in the mild cases (like a Pixel 9 or Pixel 10)
  • I'd also like to explore more radical UI changes, but this PR plays it safe and includes the simplest fix for now

Screenshots

Android, dark mode, at the largest system text size.

Screen Before After
log
guilds
profile
activity
achievements
landing
  • No visible change

At large system text sizes, rows that sat side by side squeezed their text
into narrow columns or cut it off. They now wrap, so a part that won't fit
moves whole to the next line:

- Log: "· not shown in general logs" beside a guild post's pill
- Guilds: "Create a guild" under "Start a public group."
- Profile: the follower counts, the activity summary, the current streak,
  and the unlocked count and XP line of the achievements
- Landing: the terms of service and privacy policy links, which also get a
  minimum height in place of a fixed one

The guild pill inside commit text takes its height from its name plus
padding, so it grows with the text instead of clipping it.

On a profile the handle no longer shrinks: the rank's name gives way first,
so the handle stays whole and the level still shows.

A joined guild now says "· Joined" after its member count, in place of an
icon at the end of the row, so the description keeps the row's full width
and the mark scales with the text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bottom nav: "Notifications" label wraps, leaving the final "s" on a second line

1 participant